<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
	<head>
    <title>Step</title>
	</head>
	<body>
	    <hr>
		<h3>Step <s:property value="%{step}"/> </h3>
		<s:form  namespace="serviziostep">
			<h4>Costo</h4>
			<div>
			<s:textfield key="istanza.costo" value="%{getText('{0,number,#,##0.00}',{istanza.costo})}" />
			<s:textfield key="istanza.spese" value="%{getText('{0,number,#,##0.00}',{istanza.spese})}" />
			</div>
			<s:hidden key="backStep" value="%{listaStep[step-1]}"></s:hidden>
			<s:hidden key="nextStep" value="%{listaStep[step+1]}"></s:hidden>
			<s:hidden key="curStep" value="%{listaStep[step]}"></s:hidden>
			<s:submit value="Indietro" action="back"/>
    		<s:submit value="Avanti" action="next"/>
		</s:form>
	    <hr>	
	</body>
	
</html>